<Window x:Class="XPathDebugger.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="700" Width="868" xmlns:my="clr-namespace:XMLViewer" xmlns:my1="clr-namespace:FVI.ControlBase">
    <Grid>

        <TabControl  Name="tabControl1"  HorizontalAlignment="Stretch" >
           
            <TabItem Header="Main" >
                <DockPanel>
                    <StackPanel DockPanel.Dock="Bottom">
                    <StackPanel Orientation="Horizontal" Height="50">
                        <Label  Height="21" Name="label1" Width="71" Content="XPath" />

                        <TextBox Height="21"  Name="textBox1" Width="399" />
                        <Button Content="Debug" Height="23" HorizontalAlignment="Left" Name="button1"  Width="75" Click="button1_Click" />
                        <Button Content="UnitTestToDataSet" Height="23" Name="button2" Width="110" Click="button2_Click" />
                        <Button Content="UnitTestSerializer" Height="23" Name="buttonSerialize" Width="110" Click="buttonSerialize_Click" />

                        </StackPanel>
                        <StackPanel Orientation="Horizontal"></StackPanel>
                        <Label Content="Results:" />
                        <RichTextBox Name="richTextBoxResults" Height="88" />
                        <Label Content="Errors:" />
                        <RichTextBox Height="88" Name="richTextErrors" />
                    </StackPanel>
                    <my1:SimpleSplitter DockPanel.Dock="Top" >
                        <my1:SimpleSplitter.Left>
                                <DockPanel >
                                        <TextBlock DockPanel.Dock="Top" Text="Paste raw XML Below" TextAlignment="Center" Padding="0" />
                                        <RichTextBox Name="textBoxXml" TextChanged="textBoxXml_TextChanged_1" />
                                </DockPanel>
                            </my1:SimpleSplitter.Left>
                        <my1:SimpleSplitter.Right>
                            <DockPanel>
                                <TextBlock DockPanel.Dock="Top" Text="Xml Node View" TextAlignment="Center" Padding="0" />
                                <my:Viewer x:Name="viewer1" />
                            </DockPanel>
                            
                        </my1:SimpleSplitter.Right>
                    </my1:SimpleSplitter>
             
                </DockPanel>
                
                
            </TabItem>
           
                <TabItem Header="Performance tests" >
                <DockPanel>
                    <ListBox Name ="listboxPerformance">
                        
                    </ListBox>

                </DockPanel>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
